<template>
  <wanl-rate :quantity="5" :current="value" :size="22" normal="#cccccc" :active="activeColor" :hollow="false"
    @change="change" />
</template>
<script>
export default {
  props: {
    value: {
      default: ''
    },
    activeColor: {
      default: '#fd8c00'
    },
  },
  emits: ['input', 'change'],
  methods: {
    change(item) {
      this.$emit('input',item.index)
      this.$emit('change',item.index)
    }
  }
}
</script>